package Day01_java基础.Java07_运算符;
public class 二元运算符 {
    public static void main(String[] args) {
        //二元运算符
        //Ctrl + D ：复制当前行到下一行
        int a = 10;
        int b = 20;
        int c = 22;
        System.out.println(a+b);
        System.out.println(a-b);
        System.out.println(a*b);
        System.out.println(a/(double)b);//除法存在小数，需要强制转换类型
        System.out.println(c%a); // c / a 21 /10 = 2 余2
    }
}
